{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>静态文件</title>
</head>
<body>
    <h1>固定加载</h1>
    <img src="/static/images/1.jpg">
    <hr>
    <h1>反向解析加载</h1>
    <img src="{% static "images/1.jpg" %}">
    <hr>
</body>
</html>